package com.xiaoma.feign;

import entity.Payorder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author: xiaoma
 * @Date: 2021/7/13 15:45
 * @description:
 */
@FeignClient(value = "xiaoma-shop-rabbitmq")
public interface OrderFeignService {
    @GetMapping("/order/queryById/{id}")
    Payorder queryById(@PathVariable String id);
}
